package cn.groupmarket.types.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Getter
public enum ResponseCode {
    INDEX_EXCEPTION("0003", "唯一索引冲突"),
    SUCCESS("0000", "成功"),
    UN_ERROR("0001", "未知失败"),
    ILLEGAL_PARAMETER("0002", "非法参数"),
    E0001("E0001","折扣服务不存在"),
    E0002("E0002","无拼团营销配置"),
    E0003("E0003","活动降级拦截"),
    E0004("E0004","活动切量拦截"),
    E0005("E0005", "拼团组队失败，记录更新为0"),
    E0006("E0006","拼团锁单量已达成"),

    E0101("E0101","拼团活动未生效"),
    E0102("E0102","不在拼团活动有效时间内"),
    E0103("E0103","当前用户参与此拼团次数已达上限"),
    ;

    private String code;
    private String info;

}
